<?php

namespace App\Http\Controllers;

use App\Pro;
use Illuminate\Http\Request;

class IndexController extends Controller
{
    //
    public function index(){
        $pro = Pro::where('status',1)->orderBy('pid','desc')->get();
        // return view("index",compact('pro'));
        return view("index");
    }
}
